package com.qishon.jdk8.interfaces;

import java.util.Arrays;
import java.util.List;

/**
 * 用来说明--默认接口的使用范例
 */
public class ListIntroduct {

    public static void main(String[] args) {
        List<String> list = Arrays.asList("张三", "李四", "王五", "赵六", "田七", "王八");
        list.forEach(System.out::println);
    }
}
